﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConsultaSeguimientoTickets.aspx.cs"
    Inherits="Consultas_ConsultaSeguimientoTickets" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Página sin título</title>
    <link href="../imp_site.css" rel="stylesheet" type="text/css" />
    <link href="../site.css" rel="stylesheet" type="text/css" />
</head>
<body>
     <form id="Form2" runat="server">
        <div>
            <img id="IMG1" border="0" onclick="return IMG1_onclick()" src="../images/logo.jpg" /><table
                align="center" bgcolor="#000088" border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="page-title-blanco" width="80%">
                        <b>Sistema de Consultas</b></td>
                    <td align="right">
                        <a href="salir.asp">
                            <img alt="Salir del Sistema" border="0" src="../images/ico_salir.gif" /></a>&nbsp;
                    </td>
                </tr>
            </table>
            <br />
            <table align="center" bgcolor="#f3ac42" border="1" cellpadding="3" cellspacing="0"
                style="width: 34%">
                <tr>
                    <td style="text-align: center">
                       
                            <table border="0" cellpadding="1" cellspacing="1" width="100%">
                                <tr>
                                    <td class="fld-title" style="width: 4px; height: 24px; text-align: right">
                                        <asp:Label ID="lblRuc" runat="server" Text="Zona:"></asp:Label></td>
                                    <td style="height: 24px; text-align: left; width: 10px;">
                                        <asp:DropDownList ID="ddlZona" runat="server" DataSourceID="sqldsZona" DataTextField="nombre"
                                            DataValueField="id_zona">
                                        </asp:DropDownList></td>
                                    <td class="fld-title" style="width: 20%; height: 24px; text-align: right">
                                        <asp:Label ID="lblRazonSocial" runat="server" Text="Tipo Ticket:" Width="96px"></asp:Label></td>
                                    <td style="width: 295px; height: 24px; text-align: left">
                                        <asp:DropDownList ID="ddlCodigoImpresion" runat="server" Width="96px" DataSourceID="sqldsCodigoImpresion"
                                            DataTextField="codigo_impresion" DataValueField="id_tipo_ticket">
                                        </asp:DropDownList></td>
                                </tr>
                                <tr>
                                    <td class="fld-title" style="width: 4px; height: 26px; text-align: right">
                                        <asp:Label ID="Label1" runat="server" Text="Oficina:"></asp:Label></td>
                                    <td style="height: 26px; text-align: left; width: 10px;">
                                        <asp:DropDownList ID="ddlOficina" runat="server" DataSourceID="sqldsOficina" DataTextField="nombre"
                                            DataValueField="id_oficina">
                                        </asp:DropDownList></td>
                                    <td class="fld-title" style="width: 20%; height: 26px; text-align: right">
                                        <asp:Label ID="Label3" runat="server" Text="Número Ticket:" Width="96px"></asp:Label></td>
                                    <td style="font-size: 8pt; width: 295px; font-family: Arial; height: 26px; text-align: left">
                                        <asp:TextBox ID="txtNumeroTicket" runat="server" Width="88px"></asp:TextBox></td>
                                </tr>
                                <tr style="font-size: 8pt; font-family: Arial">
                                    <td class="fld-title" style="width: 4px; height: 24px; text-align: right;">
                                        <asp:Label ID="Label2" runat="server" Text="Fecha:" Width="71px"></asp:Label></td>
                                    <td colspan="3" style="height: 24px; text-align: left" width="50%">
                                        &nbsp;<asp:DropDownList ID="ddlDiaInicio" runat="server" Width="39px">
                                        </asp:DropDownList>
                                        &nbsp;&nbsp;<asp:DropDownList ID="ddlMesInicio" runat="server" Width="39px">
                                        </asp:DropDownList>
                                        &nbsp; &nbsp;<asp:DropDownList ID="ddlAnhoInicio" runat="server"
                                            Width="80px">
                                        </asp:DropDownList>
                                        <span class="fld-small">(dd/mm/aaaa) </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="4" style="height: 26px">
                                        <asp:Button ID="btnConsultar" runat="server" CssClass="Bsbttn" OnClick="btnConsultar_Click"
                                            Text="Consultar" /></td>
                                </tr>
                           
                            </table>
                       
                    </td>
                </tr>
            </table>
        </div>
    &nbsp;&nbsp;&nbsp;
       <asp:SqlDataSource ID="sqldsZona" runat="server" ConnectionString="<%$ ConnectionStrings:bdtvmediaSConnectionString %>"
            SelectCommand="SELECT [id_zona], [nombre] FROM [ZONA]"></asp:SqlDataSource>
        <asp:SqlDataSource ID="sqldsOficina" runat="server" ConnectionString="<%$ ConnectionStrings:bdtvmediaSConnectionString %>"
            SelectCommand="SELECT [id_oficina], [nombre] FROM [OFICINA]"></asp:SqlDataSource>
        <asp:SqlDataSource ID="sqldsCodigoImpresion" runat="server" ConnectionString="<%$ ConnectionStrings:bdtvmediaSConnectionString %>"
            SelectCommand="SELECT [id_tipo_ticket], [codigo_impresion] FROM [TIPO_TICKET] WHERE (([Activo] = @Activo) AND ([Visible] = @Visible))">
            <SelectParameters>
                <asp:Parameter DefaultValue="true" Name="Activo" Type="Boolean" />
                <asp:Parameter DefaultValue="true" Name="Visible" Type="Boolean" />
            </SelectParameters>
        </asp:SqlDataSource>
        </form>
</body>
</html>
    
